package com.supor.aiot.common.entity;

/**
 * ---------------------------------------------------------------- <br>
 * Copyright (C) 2014-2020, by het, Shenzhen, All rights reserved.  <br>
 * ---------------------------------------------------------------- <br>
 * <p>
 * 漏水故障	alarm_water_leakage
 * 长时间制水保护报警	alarm_water_empty
 * 龙头通信异常	alarm_communications_failure
 * 设备缺水	alarm_lack_water
 * 设备干烧	alarm_heating_protect
 * 主机温度传感器异常	alarm_temperature_errot
 * 进水水温过低	alarm_low_water
 * TDS温度传感器异常	alarm_tds_error
 * 进水温度传感器异常	alarm_water_temperature_in
 * 出水温度传感器异常	alarm_water_temperature_out
 * 主板与龙头通信异常	alarm_tap
 * 主板与显示板通信异常	alarm_pcb
 * 预留故障	reserve_error
 * RO滤芯正品检测	reserve_error2
 *
 * 描述: 净水机协议 <br>
 * 作者: lei <br>
 * 日期: 2022/3/7 <br>
 */
public class WaterPurifierData extends BaseDeviceData {
    /**
     * 开关机状态
     */
    public boolean power;

    public boolean alarm_water_leakage;
    public boolean alarm_water_empty;
    public boolean alarm_communications_failure;
    public boolean alarm_lack_water;
    public boolean alarm_heating_protect;
    public boolean alarm_temperature_errot;
    public boolean alarm_low_water;
    public boolean alarm_tds_error;
    public boolean alarm_water_temperature_in;
    public boolean alarm_water_temperature_out;
    public boolean alarm_tap;
    public boolean alarm_pcb;
    public boolean reserve_error;
    public boolean reserve_error2;

    @Override
    public String toString() {
        return "WaterPurifierData{" +
                "power=" + power +
                ", alarm_water_leakage=" + alarm_water_leakage +
                ", alarm_water_empty=" + alarm_water_empty +
                ", alarm_communications_failure=" + alarm_communications_failure +
                ", alarm_lack_water=" + alarm_lack_water +
                ", alarm_heating_protect=" + alarm_heating_protect +
                ", alarm_temperature_errot=" + alarm_temperature_errot +
                ", alarm_low_water=" + alarm_low_water +
                ", alarm_tds_error=" + alarm_tds_error +
                ", alarm_water_temperature_in=" + alarm_water_temperature_in +
                ", alarm_water_temperature_out=" + alarm_water_temperature_out +
                ", alarm_tap=" + alarm_tap +
                ", alarm_pcb=" + alarm_pcb +
                ", reserve_error=" + reserve_error +
                ", reserve_error2=" + reserve_error2 +
                '}';
    }
}
